<%@ page language="java" pageEncoding="utf-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/WEB-INF/taglib/MyPageLib.tld" prefix="page"%>
<%@ taglib uri='/WEB-INF/taglib/Menu.tld' prefix='t'%>


<!DOCTYPE HTML PUBLIC "-//W3C//Dtd HTML 4.01 transitional//EN">
<html:html lang="true">
  <head>
    <html:base />
    
    <title>showDigHumanFile.jsp</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<LINK href="../css/Style.css" type=text/css rel=stylesheet>
	<LINK href="../css/Manage.css" type=text/css rel=stylesheet>
  </head>
  
  <body>  	
  <div style="height: 30px; border: solid 1px blue;">
			${user.trueName},欢迎光临！
			<font color="white">${user.name}:${user.id }</font>${params.path}
		</div>
		<div style="border: solid 1px red; height: 100%;">
			<div
				style="height: 100%; width: 180px; border: solid 1px blue; float: left;">
				<t:menu dataSource="menus" width="180"
					iconPath="/icon.do?op=showIcon&icon.id=" colIdName="menuId"
					colParentIdName="menuUpId" colTitleName="menuTitle"
					colSrcName="menuSrc" colIconName="menuPic">${user.id }</t:menu>
			</div>
			<div style="height: 100%; width: 100%; border: solid 1px blue;">
  
  
  
  
    <html:form action="humanFile.do?op=showDigHumanFile" method="post">
    
    <!-- 判断digHumanFileList是否为空，不然转跳action -->
    <bean:size id="size" collection="${requestScope.humanFileForm.digHumanFileList}"/>
		<c:if test="${empty requestScope.humanFileForm.digHumanFileList and requestScope.showDigListSize!=0}">  		
			<c:redirect url="/humanFile.do?op=showDigHumanFileList"/> 		
	  	</c:if>
	<bean:size collection="${requestScope.humanFileForm.digHumanFileList}" id="size"/> 
    
    
    <!-- 头部色块 -->
  	<table cellSpacing="0" cellPadding="0" width="98%" border="0">
	  	<tbody>
	  	<tr>
	    <td width="15"><IMG src="../images/new_019.jpg" border="0"></td>
	    <td width="100%" background="../images/new_020.jpg" height="20"></td>
	    <td width="15"><IMG src="../images/new_021.jpg" 
	  	border="0"></td></tr>
	  	</tbody>
  	</table> 
  	<!-- 头部色块结束 -->  
    
    
    <table cellSpacing="0" cellPadding="0" width="98%" border="0">
	  <tbody>
	  <tr>
	  	<!-- 第一列 -->
	    <td width="15" background="../images/new_022.jpg">
	    	<IMG src="../images/new_022.jpg" border="0">
		</td>
		<!-- 第一列结束 -->
		
		<!-- 第二列 -->				
    	<td>
	    	<table cellSpacing="0" cellPadding="5" width="100%" border="0">
		    	<tr>
		          <td class='manageHead'>当前位置：管理首页 &gt; 人力资源档案管理 &gt; 查询和复核</td>
				</tr>
		        <tr>
		          <td height="2"></td>
				</tr>
			</table> 			 
       
		      
	  	   	
	  	   	<!-- 中间表格开始 -->
			<table borderColor="#cccccc" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
       		 <tbody>	  	   	
	  	   	<tr><td>
	  	   	
	  	   	<!-- 内容表格开始 -->
	  	   	<table style="BORDER-TOP-WIDTH: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; BORDER-LEFT-COLOR: #cccccc; BORDER-BOTTOM-WIDTH: 0px; BORDER-BOTTOM-COLOR: #cccccc; WIDTH: 100%; BORDER-TOP-COLOR: #cccccc; FONT-STYLE: normal; BACKGROUND-COLOR: #cccccc; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; BORDER-RIGHT-COLOR: #cccccc" 
            cellSpacing="1" cellPadding="2" rules="all" border="0">
            	  <tr style="FONT-WEIGHT: bold; FONT-STYLE: normal; BACKGROUND-COLOR: #eeeeee; TEXT-DECORATION: none">
	    			<td>档案编号</td>
	    			<td>姓名</td>
	    			<td>性别</td>
	    			<td>I级机构</td>
	    			<td>II级机构</td>
	    			<td>III级机构</td>
	    			<td>职称</td>
	    			<td>复核</td>    			
	    		</tr>    	
		    	<logic:empty name="humanFileForm" property="digHumanFileList">   
		    		<tr style="FONT-WEIGHT: normal; FONT-STYLE: normal; BACKGROUND-COLOR: white; TEXT-DECORATION: none">
		    			<td colspan="8">没有相关记录！</td>
		    		</tr> 	
		    	</logic:empty>
		    	<logic:notEmpty name="humanFileForm"  property="digHumanFileList">
		    		<logic:iterate id="humanFile" name="humanFileForm" property="digHumanFileList">
		    			<tr style="FONT-WEIGHT: normal; FONT-STYLE: normal; BACKGROUND-COLOR: white; TEXT-DECORATION: none">
			    			<td>${humanFile.humanId }</td>
			    			<td>${humanFile.humanName }</td>
			    			<td>${humanFile.humanSex }</td>
			    			<td>${humanFile.firstKindName }</td>
			    			<td>${humanFile.secondKindName}</td>
			    			<td>${humanFile.thirdKindName}</td>
			    			<td>${humanFile.humanProDesignation}</td>
			    			<td><a href="/HR_Sys/humanFile.do?op=showDigHumanFile&hufId=${humanFile.hufId }">复核</a></td>   
		    			</tr>
		    		</logic:iterate>		    		  		
		    	</logic:notEmpty>	 	
	    	</table>
	    		<!-- 内容表格结束 -->  
	    		
	    			
	    	</td></tr>
	    		   
	    	<!-- 分页部分开始 -->
	    	<logic:notEmpty name="humanFileForm" property="digHumanFileList">  
		    	<tr>
		          <td>
		            <page:PageTag file="/HR_Sys/humanFile.do?op=showDigHumanFileList" num="${requestScope.page}"></page:PageTag>
		          </td>
	            </tr>
            </logic:notEmpty>
            <!-- 分页部分结束 -->
            </tbody></table><!-- 中间表格结束 -->              
            </td>
            <!-- 第二列结束 -->
   
   <!-- 第三列 -->
    <td width="15" background="../images/new_023.jpg"><IMG 
      src="../images/new_023.jpg" border="0"> </td></tr>	    	
    	</tbody></table>	
   <!-- 第三列结束 --> 
    	
    	
    	
   <!-- 底部色块 -->
    <table cellSpacing="0" cellPadding="0" width="98%" border="0">
	  <tbody>
		  <tr>
		    <td width="15"><IMG src="../images/new_024.jpg" border="0"></td>
		    <td align="middle" width="100%" background="../images/new_025.jpg" height="15"></td>
		    <td width="15"><IMG src="../images/new_026.jpg" border="0"></td>
		  </tr>
	  </tbody>
  </table>
  <!-- 底部色块结束 -->
  
    </html:form>
    

    
  </body>
</html:html>
